
#include "matrix.h"
#include <iostream>
using namespace std;
#include <cstdlib>
#include <cstdio>
 
std::vector<int> row1{ 1, 2, 3, 4, 5 };
std::vector<int> row2{ 2, 3, 4, 5, 6 };
std::vector<int> row3{ 3, 4, 5, 6, 7 };
std::vector<std::vector<int>> src{ row1, row2, row3 };
 
int main()
{
	Matrix<int> matrix(src);
 
	for (std::size_t i = 0; i < matrix.rows(); ++i)
	{
		printf("row_%d : ", i);
		for (std::size_t j = 0; j < matrix.cols(); ++j)
			cout << matrix[i][j];
		cout << endl;
	}
 
	system("pause");
	return 0;
}
